Unset SideDiff*
Obey <Obey$Dir>.!Boot
Set SideDiff$Running "Yes"

WimpSlot -min 128k -max 128k

If "<Wimp$ScrapDir>"="" Then Error System resources not found - SideDiff needs to use the !Scrap application

RMEnsure SlidingHeap 2.12 RMLoad <SideDiff$Dir>.SHeap.SlidingHp
RMEnsure DDEUtils 1.50 RMLoad System:Modules.DDEUtils
RMEnsure DDEUtils 1.50 Error SideDiff needs the DDEUtils module

RMEnsure UtilityModule  3.70 RMEnsure CallASWI 0.02 RMLoad System:Modules.CallASWI
RMEnsure UtilityModule  3.70 RMEnsure CallASWI 0.02 Error You need CallASWI 0.02 or later to run SideDiff
|C programs require this


Set SideDiff$diff <SideDiff$Dir>.Resources.GNUdiff
Set SideDiff$patch <SideDiff$Dir>.Resources.patch

|Set SideDiff$patch patch
|Set SideDiff$diff diff
| **Uncomment the above lines to attempt to use External copies of the
| **GNU diff & patch utilities (i.e. in your Library directory)

| If you have a copy of Acorn/Castle's 'diff' (which is incompatible with
| SideDiff) you will need to alter SideDiff$diff to point to a copy of
| the GNU diff instead - or simply use the versions supplied with SideDiff
|  (diff 2.8.1/patch 2.5.8)



Run <SideDiff$Dir>.Resources.ResFind SideDiff
Run <SideDiff$Dir>.!RunImage %*0
